package com.bafarat;
import java.util.Scanner;

import javax.swing.JOptionPane;

public class Class {

        public static void main(String[] args) {
        Scanner main = new Scanner (System.in ); 
        String name;
        
        System.out.println("What is your name? ");
        System.out.print("> ");
        
        name = main.next();
        JOptionPane.showMessageDialog( null, "Hello " + name );
   

        }

}